<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>    
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>特价产品</title>
		<%@include file="../common/common.jsp"%> 
	</head>
	<body>
		<!--头部  -->
		<input id="type" type="hidden" value="4"/> 
		<%@include file="../common/header.jsp"%> 
		<div class="same special_pro container">	
			<!-- 引入购物车文件    标签开始 -->
			<%@ include file="../common/top.jsp"%>
			<!-- 引入购物车文件    标签结束 -->
				<!-- 顶部文件引入  结束-->
			
			
				<!--页面导航栏 与商品分类展示   开始  -->
			<div class="nav f16">
				<!--商品列表-->
				<!-- <div class="all_pro l f14 three">
					<p class="all f18">全部商品</p>
				</div> -->
				<!-- 引入 导航栏的信息  开始 -->
				<%@ include file="../common/nav.jsp"%>
				<!-- 引入 导航栏的信息  结束 -->
			</div>
			<!--页面商品分类展示  结束  -->
			
			<div class="banner">
				<div id="shuffling">
					<div id="list" style="left: -1100px;">
			            <%-- <img src="${ctx}/images/banner4.png" alt="1"/>
			            <img src="${ctx}/images/banner3.png" alt="2"/>
			            <img src="${ctx}/images/banner.png" alt="3"/>
			            <img src="${ctx}/images/banner2.png" alt="4"/>		
			            <img src="${ctx}/images/banner4.png" alt="1"/> --%>
		        	</div>
		        	<div id="buttons">
			            <!-- <span index="1" class="on"></span>
			            <span index="2"></span>
			            <span index="3"></span>
			            <span index="4"></span> -->
		        	</div>
			        <a href="javascript:;" id="prev" class="arrow">&lt;</a>
			        <a href="javascript:;" id="next" class="arrow">&gt;</a>
				</div>
			</div>
			
			<!-- <p class="count_down f18 three">距离结束还有<i>00</i>天<i>12</i>时<i>51</i>分<i>20</i>秒</p> -->
			<div class="pro_list clearfix">
				<ul>
					
					<c:forEach items="${resultList}" var="goods">
						<li>
						<a href="${ctx}/goods/queryGoodsDetail?id=${goods.id}" target="_blank">
							<c:choose>	
								<c:when test="${goods.picture!=null }">
									<img src="${baseFile}${goods.picture}" alt="白色碎花欧根纱" />
								</c:when>
								<c:otherwise>
									<img src="${ctx}/images/tu01.png" alt="" />
								</c:otherwise>
							</c:choose>
						</a>
						<div>
							<p class="desc">${goods.name }</p>
							<p class="price">￥${goods.marketPrice}<s>￥${goods.marketPrice}</s></p>
							<p class="residue">仅剩 <c:choose><c:when test="${goods.quantity!=null}">${goods.quantity}</c:when><c:otherwise>0</c:otherwise></c:choose>件</p>
							<a href="${ctx}/goods/queryGoodsDetail?id=${goods.id}">立即抢购</a>
						</div>
					</li>
					</c:forEach>
				</ul>
			</div>
		
		</div>
		<%-- <div class="recent_news container clearfix">
			<ul>
				<li class="dynamic">
					<p class="f18">最新动态</p>
					<div class="wrap">
						<div>
							<a href="news.html">
								<img src="${ctx}/images/dt1.png" alt="" />
								<p>韩都衣舍携手章子怡出资打造彩妆品牌...</p>
							</a>
							<a href="news.html" class="middle">
								<img src="${ctx}/images/dt2.png" alt="" />
								<p>韩都衣舍携手章子怡出资打造彩妆品牌...</p>
							</a>
							<a href="news.html">
								<img src="${ctx}/images/dt3.png" alt="" />
								<p>韩都衣舍携手章子怡出资打造彩妆品牌...</p>
							</a>
						</div>
						<hr />
						<a href="">
							<dl class="clearfix f12 nine">
								<dt>少了这八款服装，真心疼你，跟不上潮流的脚步！</dt>
								<dd>2017-03-20</dd>							
							</dl>
						</a>
						<a href="">
							<dl class="clearfix f12 nine">
								<dt>少了这八款服装，真心疼你，跟不上潮流的脚步！</dt>
								<dd>2017-03-20</dd>							
							</dl>
						</a>
						<a href="">
							<dl class="clearfix f12 nine">
								<dt>少了这八款服装，真心疼你，跟不上潮流的脚步！</dt>
								<dd>2017-03-20</dd>							
							</dl>
						</a>
						<a href="">
							<dl class="clearfix f12 nine">
								<dt>少了这八款服装，真心疼你，跟不上潮流的脚步！</dt>
								<dd>2017-03-20</dd>							
							</dl>
						</a>
						<a href="">
							<dl class="clearfix f12 nine">
								<dt>少了这八款服装，真心疼你，跟不上潮流的脚步！</dt>
								<dd>2017-03-20</dd>							
							</dl>
						</a>
					</div>
				</li>
				<li class="answer">
					<p class="f18">推荐问答</p>
					<div class="wrap">
						<form action="" class="clearfix">
							<input type="text" placeholder="简单描述你的问题"/>
							<button>找答案</button>
							<a href="">去提问</a>
						</form>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						<dl class="clearfix">
							<dt><i>问</i>冬天吊带连衣裙搭配什么外套好看？ </dt>
							<dd>10条回答</dd>
						</dl>
						
					</div>
				</li>
				<li class="info clearfix">
					<p class="f18">热门资讯</p>
					<div class="wrap">
						<div class="clearfix">
							<a href="">
								<img src="images/zx.png" alt="" />
							</a>
							<div class="l">
								<a href=""><p>继王俊凯之后 耐克又打破惯例请来...</p></a>
								<p class="clearfix f10 nine"> 
									<span class="l">2017-03-20</span>
									<span class="browse r"><img src="images/ly.png" alt="" />30</span>
								</p>
							</div>
						</div>
						<div class="clearfix">
							<a href="">
								<img src="images/zx.png" alt="" />
							</a>
							<div class="l">
								<a href=""><p>继王俊凯之后 耐克又打破惯例请来...</p></a>
								<p class="clearfix f10 nine"> 
									<span class="l">2017-03-20</span>
									<span class="browse r"><img src="images/ly.png" alt="" />30</span>
								</p>
							</div>
						</div>
						<div class="clearfix">
							<a href="">
								<img src="images/zx.png" alt="" />
							</a>
							<div class="l">
								<a href=""><p>继王俊凯之后 耐克又打破惯例请来...</p></a>
								<p class="clearfix f10 nine"> 
									<span class="l">2017-03-20</span>
									<span class="browse r"><img src="images/ly.png" alt="" />30</span>
								</p>
							</div>
						</div>
						<div class="clearfix">
							<a href="">
								<img src="images/zx.png" alt="" />
							</a>
							<div class="l">
								<a href=""><p>继王俊凯之后 耐克又打破惯例请来...</p></a>
								<p class="clearfix f10 nine"> 
									<span class="l">2017-03-20</span>
									<span class="browse r"><img src="images/ly.png" alt="" />30</span>
								</p>
							</div>
						</div>
					</div>
				</li>
			</ul>
			
		</div> --%>
		<!-- 引入底部的页面  开始-->
		<%@include file="../common/bottom.jsp"%>
		<!-- 引入底部的页面  结束-->
	</body>
	<script src="${ctx}/js/shuffle.js"></script>
</html>

